home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-11-26 | 1.2 KB | 39 lines | [TEXT/PJMM] |
- { This file has been processed by The THINK Pascal Source Converter, v1.03. }
-
- {[a-,body+,h-,o=100,r+,rec+,t=4,u+,#+,j=20/57/1$,n+]}
- { MLinkDemo.p }
- { Copyright © 1988 - 1990 by Apple Computer, Inc. All rights reserved. }
-
- {$I-}
- PROGRAM LinkDemo;
-
- {$MC68020-} { The main program must be universal code }
- {$MC68881-}
-
- USES SysEqu,Traps,ULoMem,UMacAppUtilities,UPatch,UObject,UViewCoords,UMemory,UFailure,UMenuSetup,UList,UAssociation,UMacApp,UTEView,
- UDialog,
- ULinkItem,
- ULinkDemo;
-
- VAR
- gTestApplication: TTestApplication; { The application object }
-
- BEGIN
- InitToolBox; { Essential toolbox and utilities
- initialization}
- IF ValidateConfiguration(gConfiguration) THEN { Make sure we can run }
- BEGIN
- { Continue with remainder of initialization }
- InitUMacApp(8); { Initialize MacApp; 8 calls to MoreMasters}
- InitUTEView; { Initialize TEView unit }
- InitUDialog; { Initialize other units }
-
- New(gTestApplication); { Allocate a new application object }
- FailNil(gTestApplication);
- gTestApplication.ITestApplication('????'); { Initialize that new object }
- gTestApplication.Run; { Run the application. }
- END
- ELSE
- StdAlert(phUnsupportedConfiguration);
- END.
-